import { takeEvery } from 'redux-saga/effects'
import add from './add'
import list from './list'

// takeEvery("标识", 要执行的函数)
function * rootSaga() {
    yield takeEvery('sagaAdd', add)
    yield takeEvery('sagaGetList', list)
}

export default rootSaga